Microbial intelligence